package com.gjy.pulsar.resolve.util;

import java.util.UUID;
import java.util.concurrent.atomic.AtomicLong;

/**
 * @author gjy
 * @version 1.0
 * @since 2025-10-13 15:40:59
 */
public class IdGenerator {
    private static final AtomicLong SEQ = new AtomicLong(0);

    public static String uuid() {
        return "prod-" + UUID.randomUUID();
    }

    public static String nextLongString() {
        return String.valueOf(SEQ.incrementAndGet());
    }

}
